{extend name='admin@main'}

{block name="button"}

{/block}

{block name="content"}
<div class="think-box-shadow">
    <table class="layui-table" lay-skin="line">
        {notempty name='list'}
        <thead>
        <tr>
            <th class='list-table-check-td think-checkbox'>
                <label><input data-auto-none data-check-target='.list-check-box' type='checkbox'></label>
            </th>
            <th class='text-center nowrap'>时间区间</th>
            <th class='text-center nowrap'>支付金额</th>
            <th class='text-center nowrap'>支付凭证</th>
            <th class='text-center nowrap'>发票类型</th>
            <th class='text-center nowrap'>确认打款时间</th>
            <th class='text-left nowrap'>创建时间</th>
        </tr>
        </thead>
        {/notempty}
        <tbody>
        {foreach $list as $key=>$vo}
        <tr data-dbclick>
            <td class='list-table-check-td think-checkbox'>
                <label><input class="list-check-box" value='{$vo.id}' type='checkbox'></label>
            </td>
            <td class='text-center nowrap'>{$vo.start_time|default=''} - {$vo.end_time|default=''}</td>
            <td class='text-center nowrap'>{$vo.price|default='-'}</td>
            <td class='text-center nowrap'>
                <a data-tips-image="{$vo.evidence_image|default=''}" class="fa fa-image font-s14 margin-right-5"></a>
            </td>
            <td class='text-center nowrap'>
                {eq name='vo.invoice_type' value='0'}<span class="color-blue">专票</span>{/eq}
                {eq name='vo.invoice_type' value='1'}<span class="color-green">普票</span>{/eq}
                {eq name='vo.invoice_type' value='2'}<span class="color-red">其他</span>{/eq}
            </td>
            <td class='text-center nowrap'>{$vo.evidence_time|default='-'}</td>
            <td class='text-left nowrap'>{$vo.create_at|default='-'}</td>
        </tr>
        {/foreach}
        </tbody>
    </table>

    {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}

</div>

{/block}
